package com.atguigu.guli.service.edu.feign;

import com.atguigu.commonutils.result.R;
import com.atguigu.guli.service.edu.feign.fallback.VodMediaServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(value = "service-video",fallback = VodMediaServiceFallBack.class)
public interface VodMediaService {
    @DeleteMapping("/admin/video/media/remove/{videoId}")
    R removeVideo(@RequestParam String videoId);
}
